package com.peoit.honeycomb.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.peoit.honeycomb.domain.util.CommonUtil;

@Entity
@Table(name = "honeycomb_informations")
public class Information extends BaseEntity {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 3727642340766590148L;

	public Information() {
		super();
		this.setId(CommonUtil.getId(4));
	}

	@Column(length = 256, nullable = true)
	private String title;

	@Column(length = 512, nullable = true)
	private String informationIntro;

	@Column(length = 2000, nullable = true)
	private String content;

	@Column(length = 512, nullable = true)
	private String picturePath;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPicturePath() {
		return picturePath;
	}

	public void setPicturePath(String picturePath) {
		this.picturePath = picturePath;
	}

	public String getInformationIntro() {
		return informationIntro;
	}

	public void setInformationIntro(String informationIntro) {
		this.informationIntro = informationIntro;
	}

}
